Class com.symantec.itools.swing.JMaskedTextField
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.swing.JMaskedTextField

Object
   |
   +----Component
           |
           +----Container
                   |
                   +----JComponent
                           |
                           +----JTextComponent
                                   |
                                   +----JTextField
                                           |
                                           +----com.symantec.itools.swing.JMaskedTextField

public class JMaskedTextField
extends JTextField

Variable Index

 o datetype
 o numbtype
 o texttype
 o timetype

Constructor Index

 o com.symantec.itools.swing.JMaskedTextField()
 o com.symantec.itools.swing.JMaskedTextField(int)
 o com.symantec.itools.swing.JMaskedTextField(String)
 o com.symantec.itools.swing.JMaskedTextField(String, int)
 o com.symantec.itools.swing.JMaskedTextField(Document, String, int)

Method Index

 o addNotify()
This is a standard AWT method which gets called when this component is added to a container.
 o badLocException()
 o cut(Clipboard)
 o cut()
 o docChange(DocumentEvent)
 o docInsert(DocumentEvent)
 o docRemove(DocumentEvent)
 o getDatatype()
 o getMask()
 o getUnmaskedText()
 o gotFocus(FocusEvent)
 o isDataComplete()
 o lostFocus(FocusEvent)
 o paste(Clipboard)
 o paste()
 o processComponentKeyEvent(KeyEvent)
 o processKey(KeyEvent)
 o removeNotify()
This method gets called when this component is removed from a container.
 o setDatatype(int)
 o setDocument(Document)
 o setMask(String)
 o setMaskedText(String)
Initialize the field

Variables

 o datetype
public static final int datetype
 o numbtype
public static final int numbtype
 o texttype
public static final int texttype
 o timetype
public static final int timetype

Constructors

 o JMaskedTextField
public JMaskedTextField()
 o JMaskedTextField
public JMaskedTextField(int numberOfColumns)
 o JMaskedTextField
public JMaskedTextField(String initialText)
 o JMaskedTextField
public JMaskedTextField(String initialText,
                        int numberOfColumns)
 o JMaskedTextField
public JMaskedTextField(Document doc,
                        String initialText,
                        int numberOfColumns)

Methods

 o addNotify
public synchronized void addNotify()
This is a standard AWT method which gets called when this component is added to a container.

Overrides:
addNotify in class JComponent
See Also:
removeNotify
 o badLocException
protected void badLocException()
 o cut
public synchronized void cut(Clipboard clipboard)
 o cut
public void cut()
Overrides:
cut in class JTextComponent
 o docChange
protected void docChange(DocumentEvent e)
 o docInsert
protected void docInsert(DocumentEvent e)
 o docRemove
protected void docRemove(DocumentEvent e)
 o getDatatype
public int getDatatype()
 o getMask
public java.lang.String getMask()
 o getUnmaskedText
public synchronized java.lang.String getUnmaskedText()
 o gotFocus
protected void gotFocus(FocusEvent e)
 o isDataComplete
public boolean isDataComplete()
 o lostFocus
protected void lostFocus(FocusEvent e)
 o paste
public synchronized void paste(Clipboard clipboard)
 o paste
public void paste()
Overrides:
paste in class JTextComponent
 o processComponentKeyEvent
protected void processComponentKeyEvent(KeyEvent e)
Overrides:
processComponentKeyEvent in class JTextComponent
 o processKey
protected void processKey(KeyEvent e)
 o removeNotify
public synchronized void removeNotify()
This method gets called when this component is removed from a container.

Overrides:
removeNotify in class JComponent
See Also:
addNotify
 o setDatatype
public void setDatatype(int type)
 o setDocument
public void setDocument(Document d)
Overrides:
setDocument in class JTextComponent
 o setMask
public void setMask(String mask)
 o setMaskedText
public synchronized void setMaskedText(String t)
Initialize the field


All Packages  Class Hierarchy  This Package  Previous  Next  Index